''''''

"""
"""


class Father:
    def __init__(self):
        self.name = '老王'
        self.__money = 2000

    def __hide_money(self):
        print("这是父类的私有属性")

    def get_money(self):
        print("父类的公有方法")

        self.__hide_money()


class Son(Father):
    pass


xiaoming = Son()

print(xiaoming.name)

# 打印当前属性

print(xiaoming.__dict__)